package com.graduation.service;

import com.graduation.common.domain.dto.PageDTO;
import com.graduation.pojo.po.LegalDocument;
import com.graduation.pojo.query.LegalDocumentSearchQuery;
import com.graduation.pojo.vo.LegalDocumentSearchVO;

public interface ElasticSearchService {

    void handleEsSaveLegalDocument(LegalDocument legalDocument);

    void handleEsUpdateLegalDocument(LegalDocument legalDocument);

    void handleEsDeleteLegalDocument(Long id);

    PageDTO<LegalDocumentSearchVO> searchLegalDocument(LegalDocumentSearchQuery query);
}
